package com.example.yls.demoa;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

/**
 * Created by yls on 2018/10/22.
 */

class StuViewHolder extends RecyclerView.ViewHolder {


    public StuViewHolder(View itemView) {
        super(itemView);
        view = itemView;

        noView = itemView.findViewById(R.id.iv_no);
        headView = itemView.findViewById(R.id.iv_head);
        nameView = itemView.findViewById(R.id.tv_name);
        ageView = itemView.findViewById(R.id.tv_age);
        delView = itemView.findViewById(R.id.btn_del);
        edtView = itemView.findViewById(R.id.btn_edt);
    }
    View view;
    TextView noView;
    ImageView headView;
    TextView nameView;
    TextView ageView;
    Button delView;
    Button edtView;
}
